package study.day5.t5;

public class T8 {
    public static void main(String[] args) {
        Dog dog=new Dog("小黑",100);
        Cat cat=new Cat("可乐",100);
        Master master=new Master();
        master.feed(dog,30);
        master.feed(cat,40);
    }
}
